package com.me.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Roman Uholnikov
 */
@Controller
@RequestMapping("/bank")
public class Bank {
    @RequestMapping(method = RequestMethod.GET)
    public String showForm(ModelMap model){
        model.addAttribute("error","do you want see the bank");
        return "redirect:/404";
    }
}
